package com.yudidi.service;

import com.yudidi.beanpostprocessor.NameInit;
import com.yudidi.service.DemoService;

/**
 * Created by didi on 23/05/2018.
 */
public class DemoServiceImpl implements DemoService,NameInit {
    String name;

    @Override
    public void sayHello() {
        System.out.println("hello "+name);
    }

    @Override
    public void setName(String name) {
        this.name=name;
    }
}
